﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.Backtrack.Domain.Entities
{
    /// <summary>
    /// 产品表
    /// </summary>
    public class Products
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int ProductId { get; set; }
        /// <summary>
        /// 商品名称外键
        /// </summary>
        public int GoodId { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string ProductionBatch { get; set; }
        /// <summary>
        /// 保质期(天)
        /// </summary>
        public int ShelfLife { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string ProductionNum { get; set; }
     

        /// <summary>
        /// 生产企业
        /// </summary>
        public string ProductionEnterprise { get; set; }
        /// <summary>
        /// 封面图
        /// </summary>
        public string GoverImage { get; set; }
        /// <summary>   
        /// 删除标志
        /// </summary>
        public bool IsDel { get; set; }
        public int PictureId { get; set; }
    }
}
